home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / mail / pp / pp-6.0 / examples / master / tailor.common < prev    next >
Encoding:
Text File  |  1991-12-08  |  4.9 KB  |  189 lines

  1. ############################################################
  2. #
  3. # That is the end of the things you must tailor - the rest are
  4. # probably ok - but you should check.
  5. #
  6. ############################################################
  7.  
  8. delim1        "\1\1\1\1\12"
  9. delim2        "\1\1\1\1\12"
  10.  
  11. authchannel    free
  12. authloglevel    high
  13. wrndfldir    warnings
  14.  
  15. # Body types
  16.  
  17. %BEGIN(J)%
  18. headertype    822 822-jnt 822-us 822-uk
  19. %END(J)%
  20. %BEGIN(I)%
  21. headertype    822 822-us
  22. %END(I)%
  23. %BEGIN(L)%
  24. headertype    822 822-us
  25. %END(L)%
  26. bodypart    ia5 
  27.  
  28.  
  29. #  **-- Mapping tables --**
  30. #
  31. # All of these table MUST have the names given here
  32. tbl    aliases        show="Aliases: mapping -> local id",
  33. tbl    users        show="Users: mapping local id -> disposition",
  34. tbl    domain        show="Mapping domain key ->full domain/MTA",
  35. tbl    or        show="Mapping O/R Address -> MTA",flags=dbm
  36. tbl    channel        show="Binding MTA -> Channels",flags=dbm
  37. tbl    or2rfc        show="RFC 987: X.400 -> RFC 822",flags=dbm
  38. tbl    rfc2or        show="RFC 987: RFC 822 -> X.400",flags=dbm
  39. tbl    rfc1148gate    show="Gateways that perform RFC 1148 conversions",
  40. tbl    auth.channel    show="Authorisation: channel policy",flags=dbm
  41. tbl    auth.mta    show="Authorisation: mta based",flags=dbm
  42. tbl    auth.user    show="Authorisation: user based",flags=dbm
  43. tbl    auth.qmgr    show="Authorisation: qmgr control",flags=linear
  44. #  **-- Channel tables --**
  45. #
  46. # Needed by individual channels, not submit
  47. tbl    local        file="ch.local",
  48.             show="local id -> user id + home directory",
  49.             flags=dbm
  50. tbl    shell        file="ch.shell", show="info for shell chan"
  51.             flags=dbm
  52. tbl    list        file="ch.list",
  53.             show="Lists: distribution lists",
  54.             flags=dbm
  55. tbl    uucp        file="ch.uucp" show="UUCP: rfc822 -> uucp", flags=dbm
  56.  
  57. chan    822-local    prog=local,
  58.     show="Local Delivery channel",type=both,
  59.     sort="user time",adr=822,adr-order=usapref,
  60.     hdrin=822,hdrout=822-us bptin="ia5",bptout="ia5",
  61.     content-out=822,outtable=local,access=mts,drchan=dr2rfc
  62.  
  63. chan    smtp    prog=smtp,show="with SMTP (PP)",type=both,
  64.         adr=822,hdrout=822-us, bptout="ia5",
  65.         content-out=822,drchan=dr2rfc
  66.  
  67. %BEGIN(J)
  68. chan    gb-janet prog="greyout -P",show="via JANET with NIFTP (PP)",
  69.         type=out, adr=822,adr-order=ukpref,
  70.         hdrout=822-jnt, bptout="ia5",out-info=janet,
  71.         content-out=822,drchan=dr2rfc
  72.  
  73. chan    gb-pss    prog="greyout -P",key=ipss,
  74.         show="via PSS with NIFTP (PP)",type=both,
  75.         adr=822,adr-order=ukpref,outinfo=pss,
  76.         hdrout=822-jnt, bptout="ia5",
  77.         content-out=822, drchan=dr2rfc
  78. %END(J)
  79.  
  80. chan    list    prog=list,show="List channel",type=both,
  81.         outtable=list,drchan=dr2rfc,out-info=linked,sort="user time"
  82.  
  83. chan    uucp    prog=uucp-out,key="uucp-out,rmail",
  84.         show="UUCP outbound channel",type=both,
  85.         adr=822,adr-order=usapref,outtable=uucp
  86.         out-info="uux=/tmp/uux,host=xtel"
  87.  
  88. chan    dr2rfc    prog=dr2rfc,show="Dr2rfc channel",type=out,
  89. %BEGIN(J)%
  90.         adr=822,adr-order=ukpref,
  91. %END(J)%
  92. %BEGIN(I)%
  93.         adr=822,adr-order=usapref,
  94. %END(I)%
  95. %BEGIN(L)%
  96.         adr=822,adr-order=usapref,
  97. %END(L)%
  98.         bptin=ia5,hdrin=822
  99.         content-out=822,out-info="return=all"
  100.  
  101. chan    shell    prog=shell,type=out,access=mts
  102.         show="Shell channel",
  103. %BEGIN(J)%
  104.         outtable=shell, hdrout=822-uk
  105. %END(J)%
  106. %BEGIN(I)%
  107.         outtable=shell, hdrout=822-us
  108. %END(I)%
  109. %BEGIN(L)%
  110.         outtable=shell, hdrout=822-us
  111. %END(L)%
  112.         bptout="ia5", content-out=822
  113.  
  114. # QMGR special channels (load/manage/clean)
  115.  
  116. chan    qmgr-load    prog=qmgr-load,show="Loading the QMGR",
  117.             type=qmgrload
  118.  
  119. chan    msg-clean    prog=msg-clean,show="Removing finished message"
  120.             type=delete
  121.  
  122. chan    trash        prog=trash,show="Removing trash"
  123.             type=debris,out-info=5h
  124.  
  125. chan    timeout        prog=timeout,show="Timeout messages"
  126.             type=timeout
  127.  
  128. chan    warning         prog=warnings,show="Send warning messages",
  129.                         type=warn
  130.  
  131. chan    splitter        prog=splitter,type=split,
  132.                         show="Divide message into single"
  133.  
  134.  
  135. #  **-- shaper channels --**
  136.  
  137. #   Flatteners
  138.  
  139. chan    822flatten    prog=rfc934,type=shaper,content-out=822
  140.  
  141. #   Unflatteners
  142.  
  143. # Header Filters
  144. %BEGIN(J)%
  145. chan    822touk        prog=fcontrol,type=shaper,
  146.             hdrin=822, hdrout=822-uk,
  147.             out-info="rfc822norm -jnt -bigend"
  148. chan    822tojnt    prog=fcontrol,type=shaper,
  149.             hdrin=822,hdrout=822-jnt,
  150.             out-info="rfc822norm -jnt -bigend -jntsender $(822SENDER)"
  151. %END(J)%
  152. chan    822tous        prog=fcontrol,type=shaper,hdrin=822,
  153.             hdrout=822-us,
  154.             out-info="rfc822norm -822 -littleend"
  155.  
  156. #  **-- Logging for the rest of the prog --**
  157. #
  158. authlog level=notice, size=-1
  159. operlog level=notice, size=400
  160. normlog level=notice, size=400, sflags=zero
  161.  
  162. 822flatten    normlog     file=filter
  163. %BEGIN(J)%
  164. 822touk        normlog     file=filter
  165. %END(J)%
  166. 822tous        normlog     file=filter
  167. dr2rfc        normlog     file=filter
  168. fcontrol    normlog     file=filter
  169. rfc822norm    normlog     file=filter
  170. trash        normlog     file=filter
  171.  
  172. list        normlog     file=lists
  173.  
  174. qmgr        normlog     file=qmgr
  175. qmgr-load    normlog     file=qmgr
  176.  
  177. smtp        normlog     file=smtp
  178. smtpsrvr    normlog     file=smtp
  179. %BEGIN(J)%
  180. greyout        normlog     file=greybook
  181. gb-janet    normlog  file=greybook
  182. %END(J)%
  183. submit        normlog     file=submit
  184.  
  185. local        normlog     file=local
  186. msg-clean    normlog     file=msg-clean
  187.  
  188. pptsapd        normlog     file=pptsapd,        dlevel=notice
  189.